package com.wbp.cms.client.common.domain;

import java.util.Date;

import com.wbp.cms.client.common.BaseDO;


/**
 * @Description:
 * @Department:
 * @author andy.lhc
 * @date 2016年3月6日 下午10:09:06
 */
public class DictionaryDO extends BaseDO {

  /**
   * 
   */
  private static final long serialVersionUID = -1892210028431442824L;

  private Long id;

  private Date createTime;

  private Date updateTime;

  private String tableName;

  private String tableDesc;

  private String attributeName;

  private String attributeDesc;

  private int value = -1 ;

  private int defaultValue;

  private String code="";

  private int orderValue = -1 ;

  private String description="";

  private int status =1 ; //1：可用；2：不可用

  private Long parentId =0L;

  private int version;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public String getTableName() {
    return tableName;
  }

  public void setTableName(String tableName) {
    this.tableName = tableName !=null ? tableName.trim():tableName ;
  }

  public String getTableDesc() {
    return tableDesc;
  }

  public void setTableDesc(String tableDesc) {
    this.tableDesc = tableDesc !=null ? tableDesc.trim():tableDesc ;
  }

  public String getAttributeName() {
    return attributeName;
  }

  public void setAttributeName(String attributeName) {
    this.attributeName = attributeName !=null ? attributeName.trim():attributeName ;
  }

  public String getAttributeDesc() {
    return attributeDesc;
  }

  public void setAttributeDesc(String attributeDesc) {
    this.attributeDesc = attributeDesc !=null ? attributeDesc.trim():attributeDesc ;
  }

  public int getValue() {
    return value;
  }

  public void setValue(int value) {
    this.value = value;
  }

  public int getDefaultValue() {
    return defaultValue;
  }

  public void setDefaultValue(int defaultValue) {
    this.defaultValue = defaultValue;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code =  code !=null ? code.trim():code ;
  }

  public int getOrderValue() {
    return orderValue;
  }

  public void setOrderValue(int orderValue) {
    this.orderValue = orderValue;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description =  description !=null ? description.trim():description ;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public Long getParentId() {
    return parentId;
  }

  public void setParentId(Long parentId) {
    this.parentId = parentId;
  }

  public int getVersion() {
    return version;
  }

  public void setVersion(int version) {
    this.version = version;
  }

}
